package com.xxl.sso.server.service;

import java.util.List;

import com.icom.sso.util.RetKit;
import com.xxl.sso.core.entity.PageData;
import com.xxl.sso.server.core.model.SysUser;
import com.xxl.sso.server.core.result.ReturnT;

public interface SysUserService {

	public ReturnT<SysUser> findUser(String username, String password);

	public PageData<SysUser> pageFindUser(Integer page, Integer rows, String deptId, String name, String login);

	public RetKit<String> editUserPassword(String loginId, String oldPassword, String password);

	public SysUser findUserByLoginId(String loginId);

	public RetKit<String> saveUser(SysUser user);
	
	public SysUser findUserById(String id);
	
	public RetKit<String> delUser(String id);

	public RetKit<String> resetPwd(String id);
	
	public RetKit<String> saveEditInfo(SysUser user);
}
